]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
system: Fix orientation lock never appearing
authorBastien Nocera <hadess@hadess.net>
Mon, 21 Jul 2014 12:34:21 +0000 (14:34 +0200)
committerBastien Nocera <hadess@hadess.net>
Mon, 21 Jul 2014 12:35:27 +0000 (14:35 +0200)
Typos meant that the orientation service was never detected as running
and that the orientation lock menu item didn't appear.

https://bugzilla.gnome.org/show_bug.cgi?id=733498

js/ui/status/system.js

index 51b511841a67e329e1a77f94066967398a5d7369..a2ad289ef274c1c4749bc3d7384de5336e1be7e4 100644 (file)
@@ -151,11 +151,11 @@ const Indicator = new Lang.Class({
         Gio.DBus.session.watch_name('org.gnome.SettingsDaemon.Orientation',
                                     Gio.BusNameWatcherFlags.NONE,
                                     Lang.bind(this, function() {
-                                        this._orentationExists = true;
+                                        this._orientationExists = true;
                                         this._updateOrientationLock();
                                     }),
                                     Lang.bind(this, function() {
-                                        this._orentationExists = false;
+                                        this._orientationExists = false;
                                         this._updateOrientationLock();
                                     }));
         this._updateOrientationLock();